var sj = [1, 2, 3, 4, 5];
var b = 0;
sj.forEach(function (value, index) {
    b += value;
});
console.log(b);
var qc = [1, 2, 3, 4, 5, 1, 2, 3];
var qc1 = [];
qc.forEach(function (value, index) {
    if (!qc1.includes(value)) {
        qc1.push(value);
    }
});
console.log(qc1);
